﻿using System;
using System.Collections.Generic;
using QLTH_DTO;
using QLTH_DATASSECC;
using System.Data;

namespace QLTH_BUSINESS
{
   public class clsQLNguoiDungBU
    {
       private readonly clsQLNguoiDungDA ndDA;
       public clsQLNguoiDungBU()
       {
           ndDA = new clsQLNguoiDungDA();
       }
       public DataTable DanhSachND()
       {
           return ndDA.DanhSachND();
       }
       public int Them_nguoidung(clsQLNguoiDungDTO nd)
       {
           return ndDA.Them_nguoidung(nd);
       }
       public int Capnhat_nguoidung(clsQLNguoiDungDTO nd)
       {
           return ndDA.Capnhat_nguoidung(nd);
       }

       public clsQLNguoiDungDTO ThongTinND(String _user)
       {
           return ndDA.ThongTinND(_user);
       }

       public bool Doimatkhau(String _user, String _newpas)
       {
           return ndDA.Doimatkhau(_user, _newpas);
       }
            
    }
}
